/**
 * @description 列表
 */
const listDefaultData = {
  version: '002',
  base: {
  },
  blockKeys: ["category", "search", "sort", "listhot_title", "pagination"],
  templateKeys: ["listlist", "listhot"],
  page: {
    classname: ".listpage",
    default: {
      width: "1400px",
      margin: "0 auto",
      padding: "0",
    }
  },
  category: {
    base: {
      limit: 6
    },
    listpage_category: {
      classname: ".listpage .category",
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        gap: "20px"
      }

    },
    listpage_category_item: {
      classname: ".listpage .category .item",
      default: {
        width: "auto",
        height: "auto",
        padding: "6px 10px",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        color: "#0A1E75",
        fontSize: "14px",
        background: "#DAE1FF",
        cursor: "pointer",
        borderRadius: "6px",
        transition: "all 0.3s linear"
      },
      hover: {
        color: "#FFF",
        background: "#1A3194"
      }
    },
    listpage_category_item_active: {
      classname: ".listpage .category .item.active",
      default: {
        color: "#FFF",
        background: "#1A3194"
      },
    },
    listpage_category_img: {
      classname: ".listpage .category .item .img",
      default: {
        width: "28px",
        height: "28px",
        borderRadius: "50%",
        objectFit: "cover"
      }
    },
    listpage_category_text: {
      classname: ".listpage .category .item .text",
      default: {
        color: "inherit",
        fontSize: "inherit",
      }
    },
  },
  search: {
    base: {
      labelFlag: true,
      colonFlag: true,
      search_text: "查询",
      search_icon: "SearchOutlined",
      add_text: "新增",
      add_icon: "PlusOutlined"
    },
    search_form: {
      classname: ".search",
      "default": {
        "width": "auto",
        "height": "auto",
        "padding": "10px 0",
        "margin": "0",
        display: "flex",
        "flex-wrap": " wrap",
        "alignItems": "center",
        "justifyContent": "center"
      }
    },
    search_item: {
      classname: ".search .ant-form-item",
      "default": {
        margin: "0 16px 0 0",
        "padding": "0",
        flex: "none"
      },
    },
    search_label: {
      classname: ".search .ant-form-item .ant-form-item-label >label",
      "default": {
        "width": "auto",
        height: "32px",
        "color": "rgba(0, 0, 0, 0.88)",
        "fontSize": "14px",
        "display": "inline-flex",
        "alignItems": "center",
        "justifyContent": "center"
      },
    },
    search_placeholder: {
      classname: ".search .ant-form-item input::placeholder, .search .ant-form-item .ant-select-selection-placeholder",
      "default": {
        fontSize: "inherit",
        color: "rgba(0, 0, 0, 0.25)",
      },
    },
    search_input: {
      classname: ".search .ant-input-affix-wrapper",
      "default": {
        "height": "auto",
        width: "120px",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        "border": "1px solid #d9d9d9",
        "borderRadius": "6px",
        "background": "#fff",
      },
      "focus": {
        "border": "1px solid #4096ff",
        boxShadow: "0 0 0 2px rgba(5, 145, 255, 0.1)",
      }
    },
    search_input_icon: {
      classname: ".search .ant-input-affix-wrapper .anticon",
      "default": {
        color: "rgba(0, 0, 0, 0.45)",
        cursor: "pointer",
        transition: "all 0.3s",
      },
      "hover": {
        color: "rgba(0, 0, 0, 0.88)"
      }
    },
    search_select: {
      classname: ".search.ant-form .ant-form-item .ant-select.ant-select-outlined .ant-select-selector",
      "default": {
        "height": "100%",
        "width": "120px",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        "border": "1px solid #d9d9d9",
        "borderRadius": "6px",
        "background": "#fff",
      },
      focus: {
        "border-color": "#1677ff",
        "box-shadow": "0 0 0 2px rgba(5, 145, 255, 0.1)"
      }
    },
    search_select_icon: {
      classname: ".search .ant-select .ant-select-arrow, .search .ant-select .ant-select-clear",
      "default": {
        position: "absolute",
        top: "50%",
        height: "12px",
        margin: "-6px 0 0 0",
        "fontSize": "inherit",
        "color": "rgba(0, 0, 0, 0.25)",
      },
      "hover": {
        color: "rgba(0, 0, 0, 0.88)"
      }
    },
    search_date: {
      classname: ".search .ant-form-item .ant-picker",
      "default": {
        "height": "auto",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        background: "#ffffff",
        border: "1px solid #d9d9d9",
        padding: "4px 11px 4px",
        "borderRadius": "6px",
      },
      focus: {
        boxShadow: "0 0 0 2px rgba(5, 145, 255, 0.1)"
      }
    },
    search_date_icon: {
      classname: ".search .ant-picker .ant-picker-suffix",
      "default": {
        flex: "none",
        margin: "0 0 0 4px",
        "fontSize": "inherit",
        color: "rgba(0, 0, 0, 0.25)",
      }
    },
    search_btn_box: {
      classname: ".search .btn-wrapper",
      "default": {
        "display": "flex",
        "flexWrap": "wrap",
        "margin": "0",
        "padding": "0",
        "width": "auto",
        gap: "20px"
      },
    },
    "search_submit": {
      classname: ".search .btn-wrapper .submit-btn",
      "default": {
        "width": "auto",
        height: "32px",
        fontSize: "14px",
        color: "#fff",
        background: "#1677ff",
        "margin": "0",
        padding: "4px 15px",
        lineHeight: "1.5714285714285714",
        borderRadius: "6px",
        border: "1px solid transparent",
      },
      "hover": {
        color: "#fff",
        background: "#4096ff",
      }
    },
    search_add: {
      classname: ".search .btn-wrapper .add-btn",
      "default": {
        height: "32px",
        width: "auto",
        padding: "4px 15px",
        fontSize: "14px",
        color: "rgba(0, 0, 0, 0.88)",
        background: "#ffffff",
        border: "1px solid #d9d9d9",
        borderRadius: "6px",
        boxShadow: "0 2px 0 rgba(0, 0, 0, 0.02)",
      },
      "hover": {
        color: "#4096ff",
        border: "1px solid #4096ff",
        background: "#ffffff",
      }
    },
  },
  sort: {
    base: {
      desc_icon: "SortDescendingOutlined",
      asc_icon: "SortAscendingOutlined",
      price_icon: "MoneyCollectOutlined",
      price_text: "价格",
      storeupnum_icon: "StarOutlined",
      storeupnum_text: "收藏量",
      thumbsupnum_icon: "LikeOutlined",
      thumbsupnum_text: "点赞量",
      clicknum_icon: "EyeOutlined",
      clicknum_text: "点击量",
      browseduration_icon: "EyeOutlined",
      browseduration_text: "浏览时长",
    },
    sort_box: {
      classname: ".sort",
      "default": {
        "margin": "0",
        "padding": "10px",
        "width": "auto",
        "height": "auto",
        background: "#DAE1FF",
        "display": "flex",
        "flexWrap": "wrap",
        gap: "20px"
      },
    },
    sort_btn: {
      classname: ".sort .ant-btn.common",
      "default": {
        height: "32px",
        width: "auto",
        padding: "4px 15px",
        fontSize: "14px",
        color: "rgba(0, 0, 0, 0.88)",
        background: "#ffffff",
        border: "1px solid #d9d9d9",
        borderRadius: "6px",
        boxShadow: "0 2px 0 rgba(0, 0, 0, 0.02)",
      },
      "hover": {
        color: "#4096ff",
        border: "1px solid #4096ff",
        background: "#ffffff",
      }
    },
    sort_btn_active: {
      classname: ".sort .ant-btn.active",
      "default": {
        color: "#fff",
        border: "1px solid #4096ff",
        background: "#1677ff",
      },
    }
  },
  listlist_box: {
    classname: ".listlist",
    default: {
      width: "100%",
      padding: "0",
      margin: "0",
    },
  },
  listlist: {
    base: {
      type: "1",
      limit: 8,
      iconFlag: true,
      labelFlag: true
    },
    listlist_list_box: {
      classname: '.listlist .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    listlist_list_item: {
      classname: '.listlist .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    listlist_list_img: {
      classname: '.listlist .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    listlist_list_img_img: {
      classname: '.listlist .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    listlist_list_info: {
      classname: '.listlist .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    listlist_list_name: {
      classname: '.listlist .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    listlist_list_price: {
      classname: '.listlist .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    listlist_list_publisher: {
      classname: '.listlist .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listlist_list_time: {
      classname: '.listlist .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listlist_list_like: {
      classname: '.listlist .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listlist_list_collect: {
      classname: '.listlist .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listlist_list_view: {
      classname: '.listlist .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  listhot_box: {
    classname: ".listhot",
    default: {
      width: "100%",
      padding: "0",
      margin: "0",
    },
  },
  listhot_title: {
    listhot_title: {
      classname: ".listhot .title",
      default: {
        width: "100%",
        height: "50px",
        padding: "0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        borderWidth: "1px 0 1px 0",
        borderColor: "#1A3194",
        borderStyle: "solid",
        gap: "20px"
      },
    },
    listhot_title_text: {
      classname: ".listhot .title .text",
      default: {
        fontSize: '24px',
        color: "#1A3194",
        padding: "0",
        margin: "0",
      },
    },
    listhot_title_subtext: {
      classname: ".listhot .title .subtext",
      default: {
        fontSize: '12px',
        color: "#000",
        padding: "0",
        margin: "0",
      },
    },
  },
  listhot: {
    base: {
      type: "1",
      limit: 4,
      iconFlag: true,
      labelFlag: true
    },
    listhot_list_box: {
      classname: '.listhot .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    listhot_list_item: {
      classname: '.listhot .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    listhot_list_img: {
      classname: '.listhot .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    listhot_list_img_img: {
      classname: '.listhot .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    listhot_list_info: {
      classname: '.listhot .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    listhot_list_name: {
      classname: '.listhot .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    listhot_list_price: {
      classname: '.listhot .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    listhot_list_publisher: {
      classname: '.listhot .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listhot_list_time: {
      classname: '.listhot .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listhot_list_like: {
      classname: '.listhot .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listhot_list_collect: {
      classname: '.listhot .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    listhot_list_view: {
      classname: '.listhot .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  pagination: {
    base: {
      hideOnSinglePage: true,
      showSizeChanger: true,
      prev: '上一页',
      next: '下一页',
    },
    pagination_wrapper: {
      classname: '.ab-pagination-wrapper',
      "default": {
      }
    },
    pagination_box: {
      classname: '.ab-pagination',
      "default": {
        fontSize: "14px",
        color: "rgba(0, 0, 0, 0.88)",
        background: "none",
        margin: "16px 0",
        padding: "0",
        display: "flex",
        justifyContent: "flex-end",
        flexWrap: "wrap",
        gap: "8px",
      }
    },
    pagination_total: {
      classname: '.ab-pagination .ant-pagination-total-text',
      "default": {
        color: "inherit",
        flex: "none",
        display: "inline-block",
        height: "32px",
        lineHeight: "32px",
        margin: "0 8px 0 0",
        verticalAlign: "middle",
      }
    },
    pagination_pre: {
      classname: '.ab-pagination .ant-pagination-prev, .ab-pagination .ant-pagination-next, .ab-pagination .ant-pagination-jump-prev, .ab-pagination .ant-pagination-jump-next',
      "default": {
        flex: "none",
        display: "inline-block",
        color: "#1677ff",
        background: "none",
        minWidth: "32px",
        height: "32px",
        lineHeight: "32px",
        textAlign: "center",
        verticalAlign: "middle",
        borderRadius: "6px",
      }
    },
    pagination_pre_disable: {
      classname: '.ab-pagination .ant-pagination-prev.ant-pagination-disabled, .ab-pagination .ant-pagination-next.ant-pagination-disabled',
      "default": {
        color: "rgba(0, 0, 0, 0.25)",
        background: "none",
        cursor: "not-allowed",
      }
    },
    pagination_item: {
      classname: '.ab-pagination.ant-pagination .ant-pagination-item',
      "default": {
        flex: "none",
        display: "inline-block",
        color: "inherit",
        background: "none",
        minWidth: "32px",
        height: "32px",
        lineHeight: "32px",
        textAlign: "center",
        verticalAlign: "middle",
        border: "1px solid transparent",
        borderRadius: "6px",
      },
      hover: {
        background: "rgba(0, 0, 0, 0.06)"
      }
    },
    pagination_item_active: {
      classname: '.ab-pagination.ant-pagination .ant-pagination-item.ant-pagination-item-active',
      "default": {
        fontWeight: "600",
        color: "#1677ff",
        backgroundColor: "#ffffff",
        borderColor: " #1677ff",
      }
    },
    pagination_size: {
      classname: ".ant-pagination.ant-pagination .ant-select-selector",
      "default": {
        "height": "auto",
        "fontSize": "14px",
        "color": "rgba(0, 0, 0, 0.88)",
        "border": "1px solid #d9d9d9",
        "borderRadius": "6px",
        "backgroundColor": "#fff",
      }
    },
  },
  css: "/* 列表页样式文件 */"
}
export default listDefaultData